package com.lou1052.redis.jedis.config;

import com.lou1052.redis.config.RedisConfig;

/**
 * Created with IntelliJ IDEA.
 * User: liuqing
 * Date: 2015/9/27
 * Time: 22:20
 * To change this template use File | Settings | File Templates.
 */
public class JedisConfig extends RedisConfig {
    /**
     * jedis pool config
     */
    private PoolConfig poolConfig;

    /**
     * Getter for property 'poolConfig'.
     *
     * @return Value for property 'poolConfig'.
     */
    public PoolConfig getPoolConfig() {
        return poolConfig;
    }

    /**
     * Setter for property 'poolConfig'.
     *
     * @param poolConfig Value to set for property 'poolConfig'.
     */
    public void setPoolConfig(PoolConfig poolConfig) {
        this.poolConfig = poolConfig;
    }

    @Override
    public String toString() {
        return "JedisConfig{" +
                "poolConfig=" + poolConfig +
                "} " + super.toString();
    }
}
